﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace SimpleFactoryClient
{
	class Program
	{
		static void Main(string[] args)
		{
			IHero hero = HeroFactory.CreateHero(HeroFlag.SF);
			hero.ShowMove();
			IHero hero2 = HeroFactory.CreateHero(HeroFlag.TF);
			hero2.ShowMove();

			// 反射模式
			IHero hero3 = HeroFactory.CreateHeroByReflection();
			hero3.ShowMove();
		}
	}
	
}
